package com.boarsoft.flow.demo.test;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.boarsoft.flow.core.bean.ProcessHandler;

public class YesPH implements ProcessHandler {
	private static Logger log = LoggerFactory.getLogger(YesPH.class);

	@Override
	public Object process(String entry, Object data, Throwable throwable) throws Throwable {
		log.info("Yes, sleep 5s");
		Thread.sleep(5000L);
		log.info("Awake after 5s");
		return null;
	}
}
